package controller;

import java.util.Date;
import java.util.List;

import javax.ejb.Remote;

import entities.PatientDetail;

@Remote
public interface PatientDAORemote {
	public List<PatientDetail> getAllPatient();

	public String updatePatient(String idPatientDetail, String firstName, String lastName,
			String address, String emgContact);

	public PatientDetail getPatientById(String idPatientDetail);
	
	public List<PatientDetail> getPatientByName(String firstName,String lastName);

	public String deletePatient(String idPatientDetail);

	public String createPatient(String firstName, String lastName, String address,
			String emgContact, Date appointmentDay);
}
